<meta name="viewport"
      content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
[#include "/includes/scripts.html" /]
<script type="text/javascript">

    function selectFocus() {
        try {
            var t = $('#verified_input_a').val();
            $('#verified_input_a').val("").focus().val(t);
        } catch (e) {
            alert(e.message);
        }
    }

</script>
<style>
    body {
        background-color: #f5f5f5;
        margin: 0;
    }

    .verified_dis {
        display: flex;
        margin-bottom: 20px;
    }

    .verified_dis_a {
        width: 50%;
        text-align: center;
    }

    .verified_div {
        width: 120px;
        height: 80px;
        border-radius: 8px;
        position: relative;
        left: 50%;
        margin-left: -60px;
    }

    .verified_img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 88;
        width: 120px;
        height: 80px;
        border-radius: 8px;

    }

    .verified_img2 {
        width: 120px;
        height: 80px;
        border-radius: 8px;

    }

    .verified_div2 {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
        border-radius: 8px;
    }

    .verified_img3 {
        width: 45px;
        height: 45px;
        position: absolute;
        left: 50%;
        margin-left: -25px;
        top: 6px;
        z-index: 998;
    }

    .verified_text {
        font-size: 12px;
        color: #fff;
        text-align: center;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .verified_input {
        width: 100px;
        border: none;
        background: none;
        margin-top: 16px;
        border-bottom: 1px solid #ccc;
        outline: none;
    }

    .modify {
        display: inline-block;
        width: 50px;
        text-align: center;
        color: orange;
        margin-top: 30px;
        font-size: 12px;
    }

    .photo {
        width: 45px;
        height: 45px;
        position: absolute;
        left: 50%;
        margin-left: -25px;
        top: 6px;
        z-index: 999;
    }

    .mcht_btn {
        width: 90%;
        margin: 0 auto;
        height: 40px;
        line-height: 40px;
        border-radius: 5px;
    }
</style>
<div class='fui-cell-group'>
    <div class='fui-cell' style="margin:1.6rem auto;padding-top:10px;">
        <div class='fui-cell-info'>
            <div>
                <div class="verified_dis">
                    <div class="verified_dis_a">
                        <div class="verified_div"><img class="verified_img" id="frontImgz"
                                                       src="/resources/images/verified/zh_dn121.png" alt="">
                            <div class="verified_div2">
                                <img class="verified_img3" id="ver_imgz" src="/resources/images/verified/zh_dn11.png"
                                     alt="">
                                <input id="imgsilz" name="imgsilz" onchange="uploadImage('z')" type="file"
                                       accept="image/*" capture="camera" multiple
                                       style="position: absolute;z-index: 999;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"/>
                                <div class="verified_text">请拍摄身份证正面</div>
                            </div>
                        </div>
                        <input type="hidden" id="frontUrlz" >
                    </div>
                    <div class="verified_dis_a">
                        <img class="verified_img2" style="display: none;" id="cardmodelz"
                             src="/resources/images/verified/zh_dn15.png" alt="">
                        <div class="verified_message" id="infoz">
                            <div>
                                <input class="verified_input" id="name" type="text" placeholder="姓名"
                                       style="border-bottom:1px solid #ccc;font-size:14px"/>
                                <input class="verified_input" id="idnumber" type="text" placeholder="身份证号"
                                       style="border-bottom:1px solid #ccc;font-size:14px"/> <i
                                    class="icon iconfont icon-xiugai" id="modify_2" style="display:none;"
                                    onclick="javascript:$('#idnumber').focus();"></i>
                                <!--<input class="verified_input" id="verified_input_a" type="text" value="12344555555"><span class="modify"  onclick="selectFocus()">修改</span>-->
                            </div>
                        </div>
                    </div>
                </div>

                <div class="verified_dis">
                    <div class="verified_dis_a">
                        <div class="verified_div"><img id="frontImgf" class="verified_img"
                                                       src="/resources/images/verified/zh_dn132.png" alt="">
                            <div class="verified_div2">
                                <img class="verified_img3" id="ver_imgf" src="/resources/images/verified/zh_dn11.png"
                                     alt="">
                                <input id="imgsilf" name="imgsilf" onchange="uploadImage('f')" type="file"
                                       accept="image/*" capture="camera" multiple
                                       style="position: absolute;z-index: 999;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"/>
                                <div class="verified_text">请拍摄身份证反面</div>
                            </div>
                            <input type="hidden" id="frontUrlf" name="frontUrlf">
                        </div>
                    </div>
                    <div class="verified_dis_a">
                        <img class="verified_img2" style="display: none" id="cardmodelf"
                             src="/resources/images/verified/zh_dn16.png" alt="">
                        <div class="verified_message" id="infof">
                            <div>
                                <input class="verified_input" id="authority" type="text" placeholder="签发机关"/>
                                <input class="verified_input" id="validdate" type="text" placeholder="身份证有效期"/>
                                <!--<input class="verified_input" id="verified_input_b" type="text" value="12344555555"><span class="modify" onclick="selectFocus2()">修改</span>-->
                            </div>
                        </div>
                    </div>
                </div>

                <!--<div class="verified_dis">-->
                <!--<div class="verified_dis_a">-->
                <!--<div class="verified_div"><img id="frontImgy" class="verified_img" src="/resources/images/verified/zh_dn142.png" alt="">-->
                <!--<div class="verified_div2">-->
                <!--<img class="verified_img3" id="ver_imgy" src="/resources/images/verified/zh_dn11.png" alt="">-->
                <!--<input id="imgsily" name="imgsily" onchange="uploadImage('y')" type="file" accept="image/*" capture="camera" multiple style="position: absolute;z-index: 999;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"/>-->
                <!--<div class="verified_text">请拍摄银行卡正面</div>-->
                <!--</div>-->
                <!--</div>-->
                <!--</div>-->
                <!--<div class="verified_dis_a">-->
                <!--<img class="verified_img2" src="/resources/images/verified/zh_dn17.png" id="cardmodely" alt="">-->
                <!--<div class="verified_message" id="infoy" style="display: none;">-->
                <!--<div>-->
                <!--<input class="verified_input" id="bankname" type="text" placeholder="银行名称" />-->
                <!--<input class="verified_input"  id="cardno" type="text" placeholder="卡号(仅支持储蓄卡)" />-->
                <!--&lt;!&ndash;<input class="verified_input" id="verified_input_c" type="text" value="12344555555"><span class="modify" onclick="selectFocus3()">修改</span>&ndash;&gt;-->
                <!--</div>-->
                <!--</div>-->
                <!--</div>-->
                <!--</div>-->
            </div>
        </div>
    </div>

    <div class="fui-cell-group fui-cell-click transparent" style="margin-top: 30px;">
        <div class="fui-cell external btn-logout">
            <a href="javascript:verified_commit();" id="verified_btn" style="color:#ff5555">
                <div class="fui-cell-text mcht_btn" style="text-align: center; color:#ffffff;background:#ff5555">提交
                </div>
            </a>
        </div>
    </div>
</div>

<script type="text/javascript">
    function changeUrl() {
        $("#verified_img_a").attr("src", "/resources/images/verified/zh_dn15.png");
        $("#verified_img_aa").attr("src", "/resources/images/verified/camera.png");
        $("#verified_img_A").hide();
        $("#verified_img_AA").show();
    }

    function changeUrl2() {
        $("#verified_img_b").attr("src", "/resources/images/verified/zh_dn15.png");
        $("#verified_img_bb").attr("src", "/resources/images/verified/camera.png");
        $("#verified_img_B").hide();
        $("#verified_img_BB").show();
    }

    function changeUrl3() {
        $("#verified_img_c").attr("src", "/resources/images/verified/zh_dn15.png");
        $("#verified_img_cc").attr("src", "/resources/images/verified/camera.png");
        $("#verified_img_C").hide();
        $("#verified_img_CC").show();
    }

    function changeUrl4() {
        $("#verified_img_d").attr("src", "/resources/images/verified/zh_dn15.png");
        $("#verified_img_dd").attr("src", "/resources/images/verified/camera.png");
    }

    function selectFocus() {
        try {
            var t = $('#verified_input_a').val();
            $('#verified_input_a').val("").focus().val(t);
        } catch (e) {
            alert(e.message);
        }
    }

    function selectFocus2() {
        try {
            var t = $('#verified_input_b').val();
            $('#verified_input_b').val("").focus().val(t);
        } catch (e) {
            alert(e.message);
        }
    }

    function selectFocus3() {
        try {
            var t = $('#verified_input_c').val();
            $('#verified_input_c').val("").focus().val(t);
        } catch (e) {
            alert(e.message);
        }
    }
</script>